module.exports = {
  apps: [
    {
      name: 'moredocx',
      port: '3000',
      script: './web/server/index.mjs',
      env: {
        'NUXT_NITRO_ROUTE_RULES__DOWNLOAD_**_PROXY_TO':
          'http://127.0.0.1:8880/download/**',
        'NUXT_NITRO_ROUTE_RULES__API_**_PROXY_TO':
          'http://127.0.0.1:8880/api/**',
        'NUXT_NITRO_ROUTE_RULES__VIEW_**_PROXY_TO':
          'http://127.0.0.1:8880/view/**',
        'NUXT_NITRO_ROUTE_RULES__UPLOADS_**_PROXY_TO':
          'http://127.0.0.1:8880/uploads/**',
      },
    },
  ],
}
